package com.example.annotation;

import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;

/**
 * @author ChenXiaoBin
 * on 2019-09-09
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
@Documented
public @interface RedisLockLock {
    String lockPrefix();

    long timeOut();

    TimeUnit timeUnit();
}
